841214e260309a72966c39c5fc5f07dc14e05bc5,basex-api/src/main/java/org/basex/http/restxq/RestXqModules.java,RestXqModules,cache,#HTTPContext#IOFile#HashMap#,155
Before Change
private synchronized void cache(final HTTPContext http, final IOFile root,
final HashMap<String, RestXqModule> cache) throws Exception {
for(final IOFile file : root.children()) {
if(file.isDir()) {
cache(http, file, cache);
} else {
After Change
throws Exception {
// check if directory is to be skipped
final IOFile[] files = root.children();
for(final IOFile file : files) if(file.name().equals(IGNORE)) return;
for(final IOFile file : files) {
if(file.isDir()) {